package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @TableName consult
 */
@TableName(value = "consult")
@Data
public class Consult implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 身份证号
     */
    private String card;

    /**
     * 拜访时间
     */
    private Date time;

    /**
     * 拜访事由
     */
    private Integer contentId;

    /**
     * 拜访部门
     */
    private Integer typeId;

    /**
     * 拜访人
     */
    private Integer visitorId;

    //状态
    private Integer status;


    @TableField(exist = false)
    private Integer contentName;


    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}